const adminMaps = [
    {
        path: "/",
        name: "admin",
        component: () => import("../views/Home/index"),
        meta: {
            icon: "DesktopOutlined",
            title: "首页",
            hidden: true
        },
    },
    {
        path: "/meet",
        name: "meet",
        meta: {
            icon: "AuditOutlined",
            title: "会议室管理",
            hidden: false
        },
        component: () => import("../views/admin/Meet/meet.jsx"),
        children: [
            {
                path: "/meet/add",
                name: "meetAdd",
                meta: {
                    icon: "DashboardOutlined",
                    title: "新增会议室",
                    hidden: false
                },
                component: () => import("../views/admin/Meet/addUpdate/addUpdate.jsx"),
            },
            {
                path: "/meet/update",
                name: "meetUpdate",
                meta: {
                    icon: "DashboardOutlined",
                    title: "修改会议室",
                    hidden: false
                },
                component: () => import("../views/admin/Meet/addUpdate/addUpdate.jsx"),
            },
            {
                path: "/meet/detail",
                name: "meetDetail",
                meta: {
                    icon: "DashboardOutlined",
                    title: "会议室详情",
                    hidden: false
                },
                component: () => import("../views/admin/Meet/detail/detail.jsx"),
            },
        ],
    },
    {
        path: "/reserve",
        name: "reserve",
        meta: {
            icon: "TableOutlined",
            title: "预定管理",
            hidden: true
        },
        component: () => import("../views/admin/Reserve/reserve.jsx"),
    },
    {
        path: "/user",
        name: "user",
        meta: {
            icon: "UserOutlined",
            title: "用户管理",
            hidden: false
        },
        component: () => import("../views/admin/User/user.jsx"),
        children: [
            {
                path: "/user/add",
                name: "userAdd",
                meta: {
                    icon: "DashboardOutlined",
                    title: "新增用户",
                    hidden: false
                },
                component: () => import("../views/admin/User/addUpdate/addUpate.jsx"),
            },
            {
                path: "/user/update",
                name: "userUpdate",
                meta: {
                    icon: "DashboardOutlined",
                    title: "修改用户",
                    hidden: false
                },
                component: () => import("../views/admin/User/addUpdate/addUpate.jsx"),
            },
            {
                path: "/user/detail",
                name: "userDetail",
                meta: {
                    icon: "DashboardOutlined",
                    title: "用户详情",
                    hidden: false
                },
                component: () => import("../views/admin/User/detail/detail.jsx"),
            },
        ],
    },
    {
        path: "/statistic",
        name: "statistic",
        meta: {
            icon: "BarChartOutlined",
            title: "统计",
            hidden: true
        },
        component: () => import("../views/admin/Statistic/statistic.jsx"),
    },
    {
        path: "/set",
        name: "set",
        meta: {
            icon: "SettingOutlined",
            title: "设置",
            hidden: true
        },
        children: [
            {
                path: "/set/account",
                name: "setAccount",
                meta: {
                    icon: "DashboardOutlined",
                    title: "账号设置",
                    hidden: true
                },
                component: () => import("../views/admin/Setting/account/account.jsx"),
                children: [
                    {
                        path: "/set/account/info",
                        name: "setAccountInfo",
                        meta: {
                            icon: "DashboardOutlined",
                            title: "个人信息修改",
                            hidden: true
                        },
                        component: () => import("../views/admin/Setting/account/components/info/info.jsx"),
                    },
                    {
                        path: "/set/account/password",
                        name: "setAccountPassword",
                        meta: {
                            icon: "DashboardOutlined",
                            title: "密码修改",
                            hidden: true
                        },
                        component: () => import("../views/admin/Setting/account/components/password/password.jsx"),
                    },
                ]
            },

        ],
    },
];

export default adminMaps;
